package com.teacher.pojo.dto.comment;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.teacher.pojo.dto.PageDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author jiangzhuohang
 * @create 2024/3/16 21:39
 */
@Data
public class CommentDto extends PageDto {
    /**
     * 拼车贴id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("拼车贴id")
    private Long carpoolId;


    /**
     * 0未评价  1已评价
     */
    @ApiModelProperty(" 0未评价  1已评价")
    private Integer status;

    /**
     * 评论人openId
     */
    @ApiModelProperty("评论人openId")
    private String commentatorOpenId;

    /**
     * 被评论人openId
     */
    @ApiModelProperty("被评论人openId")
    private String commenteeOpenId;

    /**
     * 评论内容
     */
    @ApiModelProperty("评论内容")
    private String comment;

    /**
     * 评分
     */
    @ApiModelProperty("评分")
    private Float score;
}
